<?php /* Smarty version 2.6.14, created on 2012-10-20 22:30:36
         compiled from imobile_user_messages_new.tpl */
?><?php
SELanguage::_preload_multi(11340033,11340039,11340012,11340042,11340043,11340044);
SELanguage::load();
?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'imobile_header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="topbar">
  <div id="leftnav">
    <a href="user_messages.php"><?php echo SELanguage::_get(11340033); ?></a>
  </div> 
  <div id="title"> 
    <?php echo SELanguage::_get(11340039); ?>
  </div>
  <div id="rightbutton"><a href="user_messages_new.php"><?php echo SELanguage::_get(11340012); ?></a></div>
</div>

<div id="content"> 

  <form action="imobile.php" method="POST" onSubmit="return iMobile_sendMessage();">
    <input type="hidden" name="task" value="user_send_message" />

    <span class="graytitle"><?php echo SELanguage::_get(11340042); ?></span> 
    <ul class="pageitem"> 
      <li class="select">
        <select id="to" name="to">
          <option value=""></option>
          <?php if ($this->_tpl_vars['to_id']): ?>
          <option value="<?php echo $this->_tpl_vars['to_id']; ?>
" selected="selected"><?php if ($this->_tpl_vars['to_user']): 
 echo $this->_tpl_vars['to_user']; 
 else: 
 echo $this->_tpl_vars['to_id']; 
 endif; ?></option>
          <?php endif; ?>
          <?php $_from = $this->_tpl_vars['friends']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['friend']):
?>
          <option value="<?php echo $this->_tpl_vars['friend']->user_info['user_username']; ?>
"><?php echo $this->_tpl_vars['friend']->user_displayname; ?>
</option> 
          <?php endforeach; endif; unset($_from); ?>
        </select>
      </li> 
    </ul>
    <span class="graytitle"><?php echo SELanguage::_get(11340043); ?></span> 
    <ul class="pageitem"> 
      <li class="bigfield">
        <input type="text" id="subject" name="subject" value="<?php echo $this->_tpl_vars['subject']; ?>
" maxlength="100" /></li> 
      <li class="textbox">
                <textarea id="message" name="message" rows="4"><?php echo $this->_tpl_vars['message']; ?>
</textarea>
      </li> 
    </ul> 
    <div class="iButtons">
      <input name="submit" type="submit" value="<?php echo SELanguage::_get(11340044); ?>" class="iPush" /></li>
    </div>
  </form> 



</div>


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'imobile_footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>